package com.coocaa.internship.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.*;

import javax.validation.constraints.NotEmpty;
import java.util.Date;

/**
 * @Description: 投递简历类
 * @Author: zwh
 * @Date: 2019-07-27
 * @Time: 8:36
 */
@Data
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DeliverCv {
    /**
     * 自增id
     */
    @JsonIgnore
    private Long id;

    /**
     * 用户简历id
     */
    @NotEmpty(message = "简历ID不能为空")
    private Long userCvId;

    /**
     * 公司id
     */
    @NotEmpty(message = "公司ID不能为空")
    private Long companyId;

    /**
     * 职位id
     */
    @NotEmpty(message = "职位ID不能为空")
    private Long positionId;

    /**
     * 投递时间
     */
    private Date deliverTime;
}
